﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp1
{
    public class Words
    {
        private string word;   //单词内容
        private int times;    //出现次数

        public Words(string word, int times)
        {
            this.word = word;
            this.times = times;
        }

        public string getWord()
        {
            return word;
        }

        public int getTimes()
        {
            return times;
        }

        public void timesUp()
        {
            times++;
        }
    }
}
